package com.dashuaibran.joker.service.mysqlimpl;

import java.util.Date;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.dashuaibran.joker.dao.IUserDao;
import com.dashuaibran.joker.service.IUserService;

@Component
public class AnnotationUserService implements IUserService {

	private String nameString;
	private Integer ageInteger;
	private Date birthdayDate;

	public AnnotationUserService() {

	}

	@Resource(name = "UserDao")
	private IUserDao userDao;

	public void find() {
		// TODO Auto-generated method stub
		userDao.find();
	}

	public void printArg() {
		System.out.println(nameString + "," + ageInteger + "," + birthdayDate);
	}

}
